package com.example.service;

import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;
 
public class EMFService {
    private static final EntityManagerFactory emfInstance = Persistence
            .createEntityManagerFactory("ResearchManagement.Data");
 
    private EMFService() {
    }
 
    public static EntityManagerFactory get() {
        return emfInstance;
    }
}
